package com.yangyanhu.ssmc.service;

import com.yangyanhu.ssmc.shiro.mapper.UserMapper;
import com.yangyanhu.ssmc.shiro.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by yyh on 2019/2/19.
 */
@Service
public class UserService {
    @Autowired
    private UserMapper userMapper;

    public User selectOne(User user){
       return userMapper.selectOne(user);
    }
}
